package net.homeip.net.tinframework.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;

public class FrameworkBaseController extends MultiActionController {

    public ModelAndView handleRequest(HttpServletRequest request,HttpServletResponse response) throws Exception {
        
        try {
            System.out.println("Entering ======> "+this.getClass().getName());
            return super.handleRequest(request,response);
        }catch(Exception e) {
            throw new Exception("Error while calling the handleRequest method",e);
        }
        finally {
            System.out.println("Exiting =====>"+this.getClass().getName());
        }
        
    }
}
